/**
 * 
 */
package com.example;

import java.io.IOException;

import com.example.DauBepMonAnHue;
import com.example.DauBepMonAnMienNam;
import com.example.NhaHang;
import com.example.NhaHangMienNam;
import com.example.NhaHangMonHue;

/**
 * @author Chung
 * @date Aug 4, 2013 6:40:54 PM
 * @projectname BridgePatternDemo
 * @packagename com.example
 * @filename OngDauBepGia.java
 */
public class OngDauBepGia {
	public static void main(String[] args) {

		NhaHang _nhaHangMonHue = new NhaHangMonHue();

		// Set implementation and call
		_nhaHangMonHue.setDauBep(new DauBepMonAnHue());
		_nhaHangMonHue.CheBienMonAn();

		NhaHang _nhaHangMonMienNam = new NhaHangMienNam();
		// Change implemention and call
		_nhaHangMonMienNam.setDauBep(new DauBepMonAnMienNam());
		_nhaHangMonMienNam.CheBienMonAn();

		// Wait for user
		try {
			System.in.read();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
